package com.infore.airsupervise.http;

/**
 * 服务器接口
 *
 * 关键字: list（列表） get（获取）  query（查询） del（删除）  commit（提交）upload（上传）   download（下载）
 * @author: dingxinlin
 * @date: 2016-11-24 08:50
 */

public class HttpAPI {

    /**
     * 根地址
     */
    public static final String HOST_DEBUG_INNER = "http://192.168.171.152:8314/";
    private static final String HOST_DEBUG = "http://192.168.171.125:8080/";
//    private static final String HOST_RELEASE = "http://222.244.144.69:7005/";
    private static final String HOST_RELEASE = "http://121.37.253.145:8081/";
//    private static final String HOST_RELEASE = "http://10.87.37.60:8080/";
    public static final String ROOT_URL = HOST_RELEASE + "WGH_APP3.0/servlet/";

    /**
     * 用户
     */
    // 登录
    public static final String USER_LOGIN = "login.do";
    // 修改密码
    public static final String MODIFY_PASSWORD = "changePass.do";
    // 上传头像
    public static final String UPLOAD_HEAD_IMAGE = "headImage.do";

    /**
     * 地图
     */
    public static final String GET_ALARM_LIST = "queryRealWarning.do";
    //实时AQI
    public static final String GET_AQIREAL = "queryRealDataByMn.do";
    //
    public static final String GET_ALRAM_QUERY= "searchRealWarning.do";
    //地图显示实时站点信息
    public static final String GET_STATION_MAP= "queryRealInfoRank.do";
    //上传位置
    public static final String COMMIT_LOCATION_USEAR = "queryPlace.do";
    //获取人员位置
    public static final String GET_PSON_LOCATION = "queryPersonPlace.do";
    //历史轨迹
    public static final String GET_PSON_ROUTE = "queryTrack.do";


    /**
     * 排名
     */
    //实时 排名
    public static final String QUERYREALDATARANK = "queryRealDataRank.do";
    //历史排名
    public static final String QUERYHISTORYDATARANK = "queryHisDataRank.do";

  

    /**
     * 站点
     */

    public static final String GET_STATION_DETAIL = "queryStationDetails.do";

    //站点24小时数据

    public static final String GET_RECENTLY = "queryRecentlyByMn.do";
    //获取视频token
    public static final String GET_VIDEO_TOKEN = "getEZAccessToken.do";
    public static final String GET_STATION_PICTURE = "queryPhotoByMn.do";

    /**
     * 统计
     */
    public static final String GET_STATION_TREE = "queryNewStationTree.do";
    public static final String GET_POINT_ANALYZE = "queryPointAnalyze.do";
    public static final String GET_HOT_ANALYZE = "queryHeatData.do";
    public static final String GET_CONSTRACT_ANALYZE = "queryContrastAnalyze.do";

    /**
     * 执法
     */
    //任务
    public static final String GET_MISSION_LIST = "queryGtasks.do";
    public static final String GET_MISSION_ISSUE_LIST = "queryMissionIssueList.do";
    public static final String COMMIT_MISSION_ISSUE = "newMission.do";
    public static final String GET_POINT_ANALYZE_QUERY = "querySearchPointAnalyze.do";
    //处理
    public static final String COMMIT_MISSION_HANDLE = "changeMissionStatus";
    //审核
    public static final String COMMIT_MISSION_EXAMNIE = "checkMission";
    //public static final String GET_MISSION_HANDLE_INFO = "queryMissionDetails.do";
    //流程
    public static final String COMMIT_MISSION_PROCESS = "queryProcess";

    public static final String SEARCH_POLLUTER = "searchPollution.do";
    public static final String GET_POLLUTER_DETAIL = "searchPollutionByMn.do";
    public static final String SEARCH_LICENSE = "searchDischargePollution.do";
    public static final String GET_LICENSE_BY_MN = "searchDischargePollutionByMn.do";
    public static final String GET_LAW_RECORD_BY_MN = "searchMissionByMn.do";

    //问题报告
    public static final String GET_QUESTION_LIST = "queryQuestionReport.do";
    public static final String COMMIT_QUESTION = "newQuertionReport.do";

    //全部人员
    public static final String GET_ALLPERSON_LIST = "queryAllPson.do";
    //全部污染源
    public static final String GET_POLLUTER_LIST = "queryPollutionStation.do";
    //全部网格信息
    public static final String GET_GRID_LIST = "queryGrid.do";
    /**
     * 现场执法
     */
    public static final String COMMIT_SITE_LAW= "handleMission.do";
    public static final String GET_SITELEDGER_LIST = "queryLedger";
    public static final String GET_SITELEDGER_DETAIL = "queryDetailsById";

    /**
     * 事件
     */
    public static final String EVENT_RECORD_LIST="queryRecordList";
    public static final String SEARCH_EVENT_RECORD_LIST="sreachRecordList";
    public static final String EVENT_RECORD_DETAILS="queryRecordDetails";
    public static final String EVENT_RECORD_VERIFY="queryRecordVerify";
    public static final String SUBMIT_EVENT_DATA="handleRecord";
    public static final String SUBMIT_CREATE_EVENT_DATA="newRecord";
    public static final String SUBMIT_EDITOR_EVENT_DATA="updateRecord";
    public static final String HANDLE_EVENT_RECORD_LIST="handleRecordList";
    //查询事件处理列表
    public static final String SEARCH_HANDLE_RECOD_LIST = "sreachHandleRecordList";



    /**
     * 实时调度
     */
    public static final String GET_DISPATCH_AQI_LIST="queryRealDispatchByAQI.do";
    public static final String GET_DISPATCH_WEATHER_LIST="queryRealDispatchByWeather.do";
    public static final String GET_DISPATCH_SYNTHESIS_LIST="queryRealDispatchBySynthesis.do";

}
